<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp"%>
<div class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',border:false" title=""
		style="overflow-x: hidden; overflow-y: auto; padding: 3px;">
		<table class="grid">
			<tr>
				<td width="10%"><b>标题</b></td>
				<td colspan="3">${notice.title}</td>
			</tr>
			<tr>
				<td><b>内容</b></td>
				<td colspan="3">${notice.content}</td>
			</tr>
			<c:if test="${notice.type=='2'}">
				<c:if test="${notice.overt!=1}">
					<tr>
						<td><b>接收部门</b></td>
						<td>${notice.revOrgNames}</td>
					</tr>
					<tr>
						<td><b>接收人</b></td>
						<td>${notice.revUserNames}</td>
					</tr>
				</c:if>
			</c:if>
			<tr>
				<td><b>附件</b></td>
				<td colspan="3"><c:forEach var="attach"
						items="${notice.attachs}">
						<p>${attach.name}
							<c:if test="${attach.type=='pdf'}">
								<a style='margin-left: 20px;'
									href='/jsp/pdfjs/web/viewer.html?file=/pdfView/view?name%3d${attach.id}'
									target='_blank'>在线预览</a>
							</c:if>
							<a style='margin-left: 20px;' href='javascript:void(0)'
								onClick='downloadAttach("${attach.id}")'>下载</a>
					</c:forEach></td>
			</tr>
		</table>
	</div>
</div>